package com.agent.action.dataobject;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.jetbrains.annotations.NotNull;

/**
 * practise数据库表映射类
 */
@Data
@AllArgsConstructor
public class PractiseDO {
    /**
     * 主键id
     */
    @NotNull
    private Long id;
    /**
     * 用户id
     */
    @NotNull
    private String userId;
    /**
     * 题目类型
     */
    @NotNull
    private String type;
    /**
     * 题目题干
     */
    @NotNull
    private String content;
    /**
     * 题目图片路径
     */
    private String picture;
    /**
     * 题目选项
     */
    private String options;
    /**
     * 题目答案
     */
    private String answer;
    private String createTime;
    private String updateTime;
}
